<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>5-align-items</title>
    <link rel="stylesheet" href="css/flex.css">
</head>

<body>
    <h1>五、align-items实例</h1>
    <ul class="m-align-items">
        <li>
            <h2>1.flex-start(上对齐)</h2>
            <div class="box g-box41">
                <div class="box4">我是box1</div>
                <div class="box5">我是box2</div>
                <div class="box6">我是box3</div>
            </div>
        </li>
        <li>
            <h2>2.flex-end(下对齐)</h2>
            <div class="box g-box42">
                <div class="box4">我是box1</div>
                <div class="box5">我是box2</div>
                <div class="box6">我是box3</div>
            </div>
        </li>
        <li>
            <h2>3.center(垂直居中对齐)</h2>
            <div class="box g-box43">
                <div class="box4">我是box1</div>
                <div class="box5">我是box2</div>
                <div class="box6">我是box3</div>
            </div>
        </li>
        <li>
            <h2>4.baseline(项目的第一行文字的基线对齐)</h2>
            <div class="box g-box44">
                <div class="box4">我是box1</div>
                <div class="box5">我是box2</div>
                <div class="box6">我是box3</div>
            </div>
        </li>
        <li>
            <h2>5.stretch(如果项目未设置高度或设为auto，将占满整个容器的高度。)</h2>
            <div class="box g-box45">
                <div>我是box1</div>
                <div>我是box2</div>
                <div>我是box3</div>
            </div>
        </li>
    </ul>

</body>

</html>